de.cebis.moccapart.calendar.domain
Class CalendarAssignment

java.lang.Object
  extended by de.cebis.moccabox.domain.AbstractConceptualObject
      extended by de.cebis.moccapart.calendar.domain.CalendarAssignment
All Implemented Interfaces:
IPersistentConcept, java.io.Serializable

public class CalendarAssignment
extends AbstractConceptualObject
implements java.io.Serializable

Überschrift:

Beschreibung:

Copyright: Copyright (c) 2003

Organisation:

Version:
1.0
Author:
unbekannt
See Also:
Serialized Form

Field Summary
static java.lang.String PROP_CALENDAR
           
static java.lang.String PROP_RELATEDCONCEPT
           
static java.lang.String PROP_RIGHT
           
static java.lang.String PROP_SUBSCRIBED
           
 
Fields inherited from interface de.cebis.moccabox.domain.IPersistentConcept
PROP_CREATION_DATE, PROP_ID, PROP_LAST_EDIT_DATE, PROP_LAST_EDIT_USER
 
Constructor Summary
CalendarAssignment()
           
CalendarAssignment(java.lang.Long _iD)
          Constructor for primary key
 
Method Summary
 Calendar getCalendar()
          Returns the identifier of the assigned calendar.
 IPersistentConcept getRelatedConcept()
           
 int getRight()
          Returns the rights the user has for the corresponding calendar.
 boolean getSubscribed()
          Returns if the corresponding Calendar is subscribed by the User.
 void setCalendar(Calendar calendar)
          Sets the identifier of the assigned calendar.
 void setRelatedConcept(IPersistentConcept relatedConcept)
           
 void setRight(int right)
          Sets the rights the user has for the corresponding calendar.
 void setSubscribed(boolean subscribed)
          Sets if the corresponding Calendar is subscribed by the User.
 
Methods inherited from class de.cebis.moccabox.domain.AbstractConceptualObject
getCreationDate, getId, getLastEditDate, getVersion, setCreationDate, setId, setLastEditDate, setVersion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_CALENDAR

public static java.lang.String PROP_CALENDAR

PROP_RIGHT

public static java.lang.String PROP_RIGHT

PROP_RELATEDCONCEPT

public static java.lang.String PROP_RELATEDCONCEPT

PROP_SUBSCRIBED

public static java.lang.String PROP_SUBSCRIBED
Constructor Detail

CalendarAssignment

public CalendarAssignment()

CalendarAssignment

public CalendarAssignment(java.lang.Long _iD)
Constructor for primary key

Method Detail

getCalendar

public Calendar getCalendar()
Returns the identifier of the assigned calendar.

Returns:
ID of the assigned calendar.

setCalendar

public void setCalendar(Calendar calendar)
Sets the identifier of the assigned calendar.

Parameters:
calendarid - ID of the assigned calendar.

getRight

public int getRight()
Returns the rights the user has for the corresponding calendar.

Returns:
Rights of the user for the calendar.

setRight

public void setRight(int right)
Sets the rights the user has for the corresponding calendar.

Parameters:
right - Rights of the user for the calendar.

setSubscribed

public void setSubscribed(boolean subscribed)
Sets if the corresponding Calendar is subscribed by the User.

Parameters:
subscribed - True, if subscribed. False, otherwise.

getSubscribed

public boolean getSubscribed()
Returns if the corresponding Calendar is subscribed by the User.

Returns:
True, if subscribed. False, otherwise.

getRelatedConcept

public IPersistentConcept getRelatedConcept()

setRelatedConcept

public void setRelatedConcept(IPersistentConcept relatedConcept)